<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <title></title>
<link href="${pageContext.request.contextPath }/css/lyz.calendar.css" rel="stylesheet" type="text/css" />
<script src="http://www.jq22.com/jquery/1.4.4/jquery.min.js"></script>
<script src="${pageContext.request.contextPath }/js/lyz.calendar.min.js" type="text/javascript"></script>
 <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/css/btn.css">
 <script type="text/javascript" src="${pageContext.request.contextPath }/js/control.js"></script>
 <script type="text/javascript" src="${pageContext.request.contextPath }/js/validate.js"></script>
 <script type="text/javascript" src="${pageContext.request.contextPath }/js/validate.js"></script>
 <style type="text/css">
 table{
 	width: 100%;
 	border-width: 1px;
 	border-color: black;
 	padding: 20px;
 	border-style: solid;
 }
 input{
 	width: 171px;
 	padding:7px 10px;
 	border:1px solid #ccc
 }
 </style>
  </head>
 
  <body>
  	<span class="path">&gt;流水列表</span>
	<span class="path">新增</span><br><br>
  	<form name="form" action="${pageContext.request.contextPath }/outWearOrder/save" method="post">
  		<div class="btn add"><a href="#" onclick="validate()">保存</a></div><br>
    	<input type="hidden" name="id" value="${childWear.id }" />
    	<h4>库存信息</h4>
		<table>
			<tr>
				<td>衣服编码</td>
				<td>${childWear.wearCode }</td>
				<td>衣服类别</td>
				<td>${childWear.wearType }</td>
				<td>码数</td>
				<td>${childWear.wearSize }</td>
				<td>进价</td>
				<td>${childWear.inPrice }</td>
			</tr>
			<tr>
				<td>售价</td>
				<td>${childWear.outPrice }</td>
				<td>库存</td>
				<td>${childWear.inventory }</td>
				<td>已售</td>
				<td>${childWear.sales }</td>
			</tr>
		</table>
    	<h4>销售单</h4>
		<table>
			<tr>
				<td>销售日期</td>
				<td><input type="text" class="date" id="outWearDate" name="outWearDate"/></td>
				<td>销售数量</td>
				<td><input type="text" class="int" name="outNumber"/></td>
			</tr>
			<tr>
				<td>销售单价</td>
				<td><input type="text" class="double" name="outPrice"/></td>
				<td>本次销售额</td>
				<td><input type="text" class="double" name="outPriceSum"/></td>
			</tr>
		</table>
	</form>
	
  </body>
</html>
